<template>
	<div class="home-header">
 <div class="city">
    <div class="header">
      <span class="iconfont" v-on:click="toHome()">&#xeb99;</span>
      <p>城市选择</p>
    </div>
    <div class="table">
      <ul class="table-text">
        <li class="on">境内</li>
        <li>境外.港澳台</li>
      </ul>
    </div>
  </div>
	</div>
</template>

<script>
  export default{
    methods:{
      toHome:function  () {
        this.$router.push("./")
      }
    }

  }
</script>

<style>
  .city .header .iconfont {
    color: white;
    font-size: 18px;
    text-decoration: none;
    line-height: 40px;
    display: block;
    text-align: center;
  }

  .city .header {
    height: 40px;
    background-color: #00bcd4;
    display: flex;
    flex-direction: row;
  }

  .city .header span {
    width: 50px;
    height: 40px;
  }

  .city .header p {
    flex: 1;
    text-align: center;
    line-height: 40px;
    color: white;

  }

  .city .table {
    width: 100%;
    height: 40px;
    background-color: #00bcd4;


  }

  .city .table .table-text {
    width: 60%;
    height: 20px;
    margin: 0 auto;
  }

  .city .table .table-text li {
    float: left;
    height: 20px;
    text-align: center;
    border: 1px solid white;
    box-sizing: border-box;
    color: white;
    text-decoration: none;
    font-size: 14px;
    line-height: 20px;
    width: 50%;
    display: inline-block;
  }

  .city .table .table-text .on {
    background-color: white;
    color: #00bcd4;
  }



</style>
